package com.bangbang.service.impl;

import com.bangbang.pojo.TbOrder;
import com.bangbang.mapper.TbOrderMapper;
import com.bangbang.service.ITbOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 订单表 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-08-11
 */
@Service
public class TbOrderServiceImpl extends ServiceImpl<TbOrderMapper, TbOrder> implements ITbOrderService {

    @Autowired
    private TbOrderMapper tbOrderMapper;

    @Override
    public List<TbOrder> selectUid(String uid) {
        List<TbOrder> orderList = tbOrderMapper.selectUid(uid);
        return orderList;
    }
}
